package com.kevin.io.jdk.bio;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;

/**
 * @author Kevin Liu
 * @date 2020/8/27 11:17 上午
 */
public class IoUtils {

    public static BufferedReader getBufferedReader(InputStream inputStream) {
        return  new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8));
    }
}
